package com.token.iot.bratterycharging.gateway.api;

import java.io.Serializable;
import java.util.Date;

public class Port implements  Serializable{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -2689195212178072760L;
	
	private String imei;

	//no 是端口号
	private String no;
	
	
	private int time;
	
	//功率
	private String power;
	
	//设备的状态
	private PortState state;
	
	private Date startTime;
	
	
	
	public Date getStartTime() {
		return startTime;
	}


	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}


	public String getImei() {
		return imei;
	}


	public void setImei(String imei) {
		this.imei = imei;
	}


	public PortState getState() {
		return state;
	}


	public void setState(PortState state) {
		this.state = state;
	}


	public String getPower() {
		return power;
	}


	public void setPower(String power) {
		this.power = power;
	}


	public String getNo() {
		return no;
	}


	public void setNo(String no) {
		this.no = no;
	}


	public int getTime() {
		return time;
	}


	public void setTime(int time) {
		this.time = time;
	}


	@Override
	public String toString() {
		return "Port [imei=" + imei + ", no=" + no + ", time=" + time + ", power=" + power + ", state=" + state
				+ ", startTime=" + startTime + "]";
	}


	
	
	
}
